#ifndef _VPROGRESSBAR_H_LULY
#define _VPROGRESSBAR_H_LULY
#include "../NinePatch.h"
#include "ProgressBar.h"
#include "UIObject.h"

//垂直进度条
class VProgressBar : public ProgressBar {
 private:
  void drawArea(const Rect& area) override;

 public:
  // defaultProgress默认进度比率 (小数0到1)
  VProgressBar(std::string uiObjectId, double defaultProgress = 0,
               const int x = 0, const int y = 0, const int width = 0,
               const int height = 0);
};

#endif